package com.probiz.estore.system.service;

import java.util.List;

import com.probiz.estore.common.model.system.AppResource;
import com.probiz.estore.core.search.SearchCriteria;
import com.probiz.estore.core.service.GenericManager;

/**
 * Manager interface for AppResource, responsible for business processing, and communicate between web and persistence layer.
 *
 */
public interface AppResourceManager extends GenericManager<AppResource> {
	/**
	 * 是否已存在相同的匹配串
	 * @param patternString
	 * @param excludeResourceId
	 * @return
	 */
	public boolean isPatternExist(String patternString, Integer excludeResourceId);
	
	public List<AppResource> searchByCriteria(SearchCriteria sc,Short belongTo);
	
	public void configToDb(AppResource res);
}
